//@author A0096759E

package googlecal;

public class GoogleCalendarCal {
	
	
	private static final String CALENDAR_ITEM_TO_STRING = "Summary: %s\nID: %s\nEtag: %s";
	private String summary;
	private String etag;
	private String id;
	
	/**
	 * Returns ID of Google Calendar
	 * @return id - a Google Calendar ID
	 */
	public String getID() {
		return this.id;
	}
	
	@Override
	public String toString() {
		return String.format(CALENDAR_ITEM_TO_STRING, summary, id, etag);
	}
}
